package com.shaozi.nc.data.model;

import java.util.HashMap;
import java.util.Map;

import org.springframework.data.mongodb.core.mapping.Document;

import com.shaozi.data.mongo.model.ModelBase;

@Document(collection = "nc_secretary_api_quartz_log")
public class SecretaryApiQuartzLogModel extends ModelBase {

	/**
	 * 
	 */
	private static final long serialVersionUID = 3127269659910556640L;

	private String apiQuartzId;
	private String jsonData;
	private String topicName;
	private Long atTime;
	private String pushRegex;
	private Long createTime;

	private String jobClazzName;
	private Map<String, String> dataMap = new HashMap<>();
	private Integer isSucc;
	private String msg;
	
	private String companyId;
	
	public SecretaryApiQuartzLogModel() {
	}

	public String getApiQuartzId() {
		return apiQuartzId;
	}

	public void setApiQuartzId(String apiQuartzId) {
		this.apiQuartzId = apiQuartzId;
	}

	public String getJsonData() {
		return jsonData;
	}

	public void setJsonData(String jsonData) {
		this.jsonData = jsonData;
	}

	public String getTopicName() {
		return topicName;
	}

	public void setTopicName(String topicName) {
		this.topicName = topicName;
	}

	public Long getAtTime() {
		return atTime;
	}

	public void setAtTime(Long atTime) {
		this.atTime = atTime;
	}

	public String getPushRegex() {
		return pushRegex;
	}

	public void setPushRegex(String pushRegex) {
		this.pushRegex = pushRegex;
	}

	public Long getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Long createTime) {
		this.createTime = createTime;
	}

	public String getJobClazzName() {
		return jobClazzName;
	}

	public void setJobClazzName(String jobClazzName) {
		this.jobClazzName = jobClazzName;
	}

	public Map<String, String> getDataMap() {
		return dataMap;
	}

	public void setDataMap(Map<String, String> dataMap) {
		this.dataMap = dataMap;
	}

	public Integer getIsSucc() {
		return isSucc;
	}

	public void setIsSucc(Integer isSucc) {
		this.isSucc = isSucc;
	}

	public String getMsg() {
		return msg;
	}

	public void setMsg(String msg) {
		this.msg = msg;
	}

	public String getCompanyId() {
		return companyId;
	}

	public void setCompanyId(String companyId) {
		this.companyId = companyId;
	}

}
